package ru.nosport.matrixaria.modules.core.blog;

import ru.nosport.matrixaria.core.MessageHandler;
import ru.nosport.matrixaria.core.MessageHandlerException;

import java.util.logging.Logger;

/**
 * User: vfabr
 * Date: 24.11.2006
 * Time: 16:36:45
 */
public class MHBLog {

	public static Logger get(Object _obj) throws MessageHandlerException {
		BaseLogger l = (BaseLogger)MessageHandler.getModule("MBaseLogger");
		Logger ret = l.get(_obj);
		MessageHandler.releaseModule("MBaseLogger", l);
		return ret;
	}
}
